package edu.dayu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.dayu.model.hosp.Schedule;
import edu.dayu.vo.hosp.BookingScheduleRuleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScheduleMapper extends BaseMapper<Schedule> {
    List<BookingScheduleRuleVo> queryBookingScheduleRule(Schedule schedule);

    List<BookingScheduleRuleVo> queryBookingScheduleRuleInWorkDate(Map<String,Object> map);

    List<Schedule> queryScheduleList(Schedule schedule);

    Integer updateScheduleBy(Schedule schedule);
}
